package com.skywolf.chem.match.common.enums;

/**
 * 赛事订单状态
 * @Author sj
 * Date on 2021/9/26  10:17
 * @Version 1.0
 */
public enum MatchOrderStatusEnum {

    //订单状态：101->待付款；102->用户取消；103->系统取消；201->已付款；202->申请退款；203->已退款；901->已完成；
    PENDING_PAYMENT(101,"待付款"),
    USER_CANCEL(102,"用户取消"),
    AUTO_CANCEL(103,"系统自动取消"),
    PAYED(201,"已支付"),
    APPLY_REFUND(202,"申请退款"),
    REFUNDED(203,"已退款"),
    FINISHED(901,"已完成");
    private Integer status;
    private String name;

    MatchOrderStatusEnum(final Integer status, final String name) {
        this.status = status;
        this.name = name;
    }

    public Integer getStatus() {
        return this.status;
    }
}
